﻿using System.Data.Common;

namespace JiaBao.Core.Data
{
    /// <summary>
    /// 数据供应商接口
    /// </summary>
    public interface IDataProvider
    {
        /// <summary>
        /// 初始化EF框架ConnectionFactory
        /// </summary>
        void InitConnectionFactory();

        /// <summary>
        /// 数据库初始化程序
        /// </summary>
        void SetDatabaseInitializer();

        /// <summary>
        /// 初始化数据库
        /// </summary>
        void InitDatabase();

       

       

        
       

    }
}
